package com.ocean.system.service.impl;

import com.ocean.common.utils.uuid.IdUtils;
import com.ocean.system.domain.ODownLog;
import com.ocean.system.mapper.ODownLogMapper;
import com.ocean.system.service.IODownLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author msy
 * @date 2024/1/25
 */
@Service
public class ODownLogServiceImpl implements IODownLogService {

    @Autowired
    private ODownLogMapper downLogMapper;

    @Override
    public int insertODownLog(ODownLog downLog) {
        downLog.setId(IdUtils.simpleUUID());
        return downLogMapper.insertODownLog(downLog);
    }
}
